package com.xy.tool.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author Greekn Zhang
 * @date 2021/8/27 10:40
 * @description
 */
@Component
public class QrCodeUrlConstant {

    public static String qrCodeUrlByCode;

    @Value("${qrcode.url.code}")
    public void setQrCodeUrlByCode(String qrCodeUrlByCode) {
        QrCodeUrlConstant.qrCodeUrlByCode = qrCodeUrlByCode;
    }
}
